<html>
  <head></head>
  <body>
    <script>
      setTimeout(() => {
        const a = document.createElement('a');
        a.href = 'foo';
        a.text = 'bar';
        document.body.appendChild(a);
      }, 10);
    </script>
  </body>
</html>
